package com.teamclub.domain.system;

import io.ebean.Finder;
import io.ebean.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Version;
import java.util.Date;

@Entity
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Data
public class AppClientVersion extends Model {
    @Id
    private Integer id;
    @Column(name="xkey")
    private String key;
    private String version;
    private Integer versionNum;
    private String path;
    private String description;
    @Version
    private Date createTime;

    public static Finder<Integer, AppClientVersion> finder = new Finder<>(AppClientVersion.class);
}
